package com.dhcc.cdc.busi.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.cdc.busi.entity.CdcSurgeryEntity;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 手术
 * 
 * @ClassName: CdcSurgeryMapper
 * @Description: TODO
 * @author jumper
 * @date 2021-03-15 10:20:06
 */
public interface CdcSurgeryMapper  extends BaseMapper<CdcSurgeryEntity> {
	
    List<CdcSurgeryEntity> list(@Param("map")Map<String, Object> map);
    List<CdcSurgeryEntity> page(@Param("page") Page<CdcSurgeryEntity> page,@Param("map")Map<String, Object> map);

    List<CdcSurgeryEntity> selectSurgeryInfo(@Param("episodeId")Long episodeId, @Param("surgSource")Long surgSource, @Param("surgType")Long surgType);

    List<CdcSurgeryEntity> selectSurgeryInfoByParam(@Param("episodeId")Long episodeId, @Param("surgSource")Long surgSource, @Param("surgType")Long surgType,
                                                    @Param("filterTxt")String filterTxt, @Param("keywordAndTxt")String keywordAndTxt, @Param("keywordOrTxt")String keywordOrTxt);

    List<CdcSurgeryEntity> selectByTime(@Param("episodeId") Long episodeId, @Param("startDate") String startDate, @Param("endDate") String endDate,@Param("getType") String getType);
}
